package com.wing.productionPlan.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wing.productionPlan.model.entity.ProProductDeliveryOrderDetail;
import com.wing.productionPlan.model.response.ProProductDeliveryCollectionDetailVo;
import com.wing.productionPlan.model.response.ProProductDeliveryCollectionTwoVo;
import com.wing.productionPlan.model.response.ProProductDeliveryOrderDetailVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 提货订单详情信息-Dao
 *
 * @author
 */
@Mapper
public interface ProProductDeliveryOrderDetailDao extends BaseMapper<ProProductDeliveryOrderDetail> {

    /**
     * 查询提货订单详情
     * @param pg
     * @param map
     * @return
     */
    List<ProProductDeliveryOrderDetailVo> pageList4app(@Param("page") Page<ProProductDeliveryOrderDetailVo> pg,@Param("map") Map map);

    /**
     * 汇总
     *
     * @param pg
     * @param map
     * @return
     */
    List<ProProductDeliveryCollectionTwoVo> pageListCollect4app(@Param("page") Page<ProProductDeliveryCollectionTwoVo> pg, @Param("map") Map map);

    /**
     * 查询提货明细信息
     * @param map
     * @return
     */
    List<ProProductDeliveryCollectionDetailVo> collectList(@Param("map") Map map);
}
